计算机与现代化 ›› 2013, Vol. 1 ›› Issue (7): 26-029,.doi: 10.3969/j.issn.1006-2475.2013.07.007

• 网络与通信 • 上一篇    下一篇

基于KVM-QEMU与Libvirt的虚拟化资源池构建

姚华超1,王振宇2   

  1. 1.华南理工大学计算机科学与工程学院,广东广州510006;2.华南理工大学软件学院,广东广州510006
  • 收稿日期:2013-01-16 修回日期:1900-01-01 出版日期:2013-07-17 发布日期:2013-07-17

Construction of Virtualized Resource Pool Based on KVM-QEMU with Libvirt

]YAO Hua-chao1, WANG Zhen-Yu2   

  1. 1. School of Computer Science and Engineering, South China University of Technology, Guangzhou 510006, China;2. School of Software Engineering, South China University of Technology, Guangzhou 510006, China
  • Received:2013-01-16 Revised:1900-01-01 Online:2013-07-17 Published:2013-07-17

摘要: 虚拟化是云计算平台的关键技术,桌面虚拟化是虚拟化技术的主要应用之一。利用该技术可将用户的终端设备与桌面环境解耦合,每个用户的桌面环境存放在服务器端,用户使用终端设备,通过网络访问桌面环境。其核心技术为服务器虚拟化,而虚拟化资源池是利用服务器虚拟化技术构建于Linux服务器之上,可为终端接入设备提供适合桌面系统环境的一个资源集合,是实现桌面虚拟化的基础支持。Libvirt是支持KVM虚拟化工具的C函数库,本文在深入分析Libvirt对KVM-QEMU的支持以及KVM-QEMU的虚拟化实现原理之后,借助Libvirt库设计并且实现支持资源节点动态接入的虚拟化资源池。

关键词: 桌面虚拟化, KVM-QEMU, Libvirt, 虚拟化资源池, VLAN

Abstract: Virtualization is a key technology of cloud computing, and desktop virtualization is one of the main applications of virtualization technology. It can decouple of the user’s terminal device with the desktop environment, and each user’s desktop environment is stored in the server-side. Users access desktop environment through network by using terminal equipment, and the core technology is server virtualization. Virtualized resource pool is a collection of resources, which is built in the Linux servers by using server virtualization technologies. It can provide suitable desktop environments for terminal equipments, and it’s the foundation for desktop virtualization. Libvirt is a C library that supports KVM virtualization. After analyzing the Libvirt library and KVM-QEMU virtualization principle, this paper proposes a method to design and implement a virtualized resource pool which supports resource nodes dynamic access.

Key words: desktop virtualization, KVM-QEMU, Libvirt, virtualized resource pool, VLAN